const useToolbar = () => {
  const toolbar =
    '|formatselect fontselect fontsizeselect forecolor backcolor bold italic underline strikethrough link alignment indent2em outdent indent lineheight letterspacing bullist numlist blockquote subscript superscript  layout removeformat table image attachment importword charmap  hr   cut copy undo redo restoredraft  searchreplace fullscreen'

  return toolbar.split(' ').filter(Boolean)
}

export default useToolbar
